_f_i_l_d_e_s is a file descriptor obtained from a _cccc_rrrr_eeee_aaaa_tttt, _oooo_pppp_eeee_nnnn, _dddd_uuuu_pppp, _ffff_cccc_nnnn_tttt_llll,
_pppp_iiii_pppp_eeee, or _iiii_oooo_cccc_tttt_llll system call.
_gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss attempts to read _n_b_y_t_e bytes from the directory associated with
_f_i_l_d_e_s and to format them as file system independent directory entries in
the buffer pointed to by _b_u_f. Since the file system independent
directory entries are of variable length, in most cases the actual number
of bytes returned will be strictly less than _n_b_y_t_e. See _dddd_iiii_rrrr_eeee_nnnn_tttt(4) to
calculate the number of bytes.
The file system independent directory entry is specified by the _dddd_iiii_rrrr_eeee_nnnn_tttt
structure. For a description of this see _dddd_iiii_rrrr_eeee_nnnn_tttt(4).
_gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss starts at a position in the file given by the file pointer
associated with _f_i_l_d_e_s. Upon return from _gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss, the file pointer is
incremented to point to the next directory entry.
This system call was developed in order to implement the _rrrr_eeee_aaaa_dddd_dddd_iiii_rrrr routine
[for a description, see _dddd_iiii_rrrr_eeee_cccc_tttt_oooo_rrrr_yyyy(3C)], and should not be used for other
purposes.
_gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss_6666_4444 is identical to _gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss except that the _dddd_iiii_rrrr_eeee_nnnn_tttt_6666_4444______tttt structure
is used instead of the _dddd_iiii_rrrr_eeee_nnnn_tttt______tttt structure. The _dddd_iiii_rrrr_eeee_nnnn_tttt_6666_4444______tttt structure can
return larger values for some fields.
_nnnn_gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss and _nnnn_gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss_6666_4444 are identical to _gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss and _gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss_6666_4444,
respectively, except that the _e_o_f argument is present. The value pointed
to by _e_o_f is set to 1 if end-of-file was encountered during the current
operation, 0 otherwise. Use of this feature eliminates the necessity to
call _gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss one more time (and get 0 returned) after the last data is
returned.
_gggg_eeee_tttt_dddd_eeee_nnnn_tttt_ssss will fail if one or more of the following are true: